package cn.tristenstudy.blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xichen1.li
 * @date 2020-12-30 20:55
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_blog_tag")
public class BlogTag implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 博客id
     */
    private Long blogId;
    /**
     * 标签id
     */
    private Long tagId;
    /**
     * 是否发布
     */
    private Boolean published;

}
